package com.laiketui.plugin.common.mapper.plugin.group;

import com.laiketui.plugin.common.domain.base.group.GroupProductModel;
import com.laiketui.core.exception.LaiKeAPIException;
import com.laiketui.core.db.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * 拼团商品
 *
 * @author Trick
 * @date 2023/3/15 16:31
 */
public interface GroupProductModelMapper extends BaseMapper<GroupProductModel> {

    /**
     * 后台 获取正在活动中的拼团商品
     *
     * @param map -
     * @return List
     * @throws LaiKeAPIException -
     * @author Trick
     * @date 2021/5/8 14:30
     */
    List<Map<String, Object>> getGroupActivityGoodsInfo(Map<String, Object> map) throws LaiKeAPIException;

    int countGroupActivityGoodsInfo(Map<String, Object> map) throws LaiKeAPIException;

}